package com.glink.manage.vo.code;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "CodeVO", description = "codeVO对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CodeVO extends Model<CodeVO> {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "字典名字")
    private String name;

    @ApiModelProperty(value = "字典类型")
    private String type;

    @ApiModelProperty(value = "父节点类型")
    private String parentType;

    @ApiModelProperty(value = "字典说明")
    private String remark;

    @ApiModelProperty(value = "代码值")
    private String key;

    @ApiModelProperty(value = "排序")
    private Integer seq;

    @ApiModelProperty(value = "是否可见(0=否,1=是)")
    private String isVisible;

    @ApiModelProperty(value = "是否系统预设,0-否,1-是")
    private String isFixed;

    @ApiModelProperty(value = "左边栏,右边详情展示,0-左边,1-右边")
    private String isLeaf;

    @ApiModelProperty(value = "是否可以添加子节点,(0=否,1=是)，仅菜单树使用")
    private String isCanAddChild = "1";
}
